<form id="sForm">
	<input type="hidden" name="frm" value="{$_act.frm}" />
	<input type="hidden" name="mdl" value="{$_act.mdl}" />
	<input type="hidden" name="do" value="{$_act.do}" />
	<input type="hidden" name="catid" id="catid" value="{$get.catid}" />
	<table border="0" align="center" cellpadding="0" cellspacing="1" class="table_search">
		<tbody>
			<tr>
				<th>订单号：</th>
				<td><input type="text" name="sn" value="{$get.sn}" class="input" style="width:120px;" /></td>
				<th>用户名：</th>
				<td><input type="text" name="username" value="{$get.username}" class="input" style="width:120px;" /></td>
				<th>状态：</th>
				<td><select name="state" class="select" style="width:50px;">
						{$state_options}
					</select></td>
				<td class="w100p"></td>
				<td><input type="submit" name="btnSearch" value="{$l.search}" class="button" /></td>
				<td><input type="submit" name="btnExport" value="导出" class="button" /></td>
			</tr>
		</tbody>
	</table>
	<br />
	<div class="form_data_cut">
		<div class="right">
			<!-- 操作链接 START -->
			<!-- 操作链接 END -->
			<div class="clear"></div>
		</div>
		<!-- 排序字段 START -->
		{include file="_major_sort.lbi"}
		<!-- 排序字段 END -->
		<div class="clear"></div>
	</div>
</form>
<div class="space10"><!-- 间隔 --></div>
<form action="./m.php?frm=action&mdl=index" name="lForm" id="lForm" method="post" target="eBody">
	<input type="hidden" name="formAction" value="" />
	<input type="hidden" name="goback" value="frlist" />
	<input type="submit" id="btnSubmit" class="hide" />
	<table align="center" class="data_form">
		<caption>
		{$_page.caption}
		</caption>
		<thead>
			<tr>
				<th style="width:22px;"><input type="checkbox" title="{$l.selall}/{$l.selnone}" class="poshytip" /></th>
				<th style="width:92px;">商品图片</th>
				<th style="width:120px;">商品名称</th>
				<th style="width:120px;">订单号</th>
				<th style="width:80px;">用户名</th>
				<th>规格</th>
				<th style="width:50px;">库存数</th>
				<th style="width:50px;">缺货数</th>
				<th style="width:50px;">状态</th>
				<th style="width:150px;">{$l.time}</th>
				<th style="width:30px;">{$l.operation}</th>
			</tr>
		</thead>
		<tbody>
		
		{foreach from=$list item=row}
		<tr>
			<th><input type="checkbox" name="list[]" value="{$row.id}" /><input type="hidden" name="lst[{$row.id}]" value="{$row.id}" /></th>
			<td><a href="{$row.url}" title="{$row.goodsinfo.name}<br />
--------<br />
重量：{$row.goodsinfo.fweight}{$row.goodsinfo.weightunit}<br />
单价：￥{$row.goodsinfo.price}" class="poshytip open_frame"><img src="{$_s.up_dir}thumb/92_70/{$row.goodsinfo.cover}" width="92" height="70" onload="drawImage(this, 92, 70);" /></a></td>
			<td><a href="./m.php?frm=goods&mdl=goods&do=edit&id={$row.goodsid}" title="编辑商品" class="poshytip open_frame">{$row.goodsinfo.name}</a></td>
			<td>{if $row.orderid > 0}<a href="./m.php?frm=order&mdl=order&do=edit&id={$row.orderid}" title="编辑订单" class="poshytip open_frame">{$row.sn}</a>{else}--{/if}</td>
			<td><a href="./m.php?frm=user&mdl=user&do=edit&id={$row.userid}" title="查看用户信息" class="poshytip open_frame">{$row.username}</a></td>
			<td>{$row.specinfo.name}：{$row.specname}</td>
			<td>{$row.stockinfo.quantity}</td>
			<td>{$row.quantity}</td>
			<td>{if $row.state == 1}***{else}--{/if}</td>
			<td>{$row.addtime}</td>
			<td>{if $_g._mp_goods_goods_edit}<a href="./m.php?frm=goods&mdl=goods&do=edit&id={$row.goodsid}" target="eBody">编辑</a>{/if}</td>
		</tr>
		{/foreach}
		</tbody>
		
	</table>
</form>
	<!--  -->
	<table border="0" align="center" cellpadding="0" cellspacing="1" class="data_form">
		<tfoot id="cmd">
			<tr>
				<td><div class="btns"><!--<select class="select"><option></option>-->
							<!--</select>-->
					</div>
					{include file="./_pagelist.tpl"}</td>
			</tr>
		</tfoot>
	</table>


<div class="space5"><!-- 间隔 --></div>
<div class="data_memo">库存不足的商品列表</div>

<script type="text/javascript" language="JavaScript" charset="utf-8">
<!--
	{literal}
	jQuery(function($){
		
	});
	{/literal}
-->
</script>